/**
 * 生成工资数据
 */
import Layout from '@/layout'

const generateSalary = {
  path: '/generateSalaryData',
  component: Layout,
  redirect: '/generateSalaryData/generateSalaryData',
  name: 'generateSalaryData',
  meta: {
    title: '生成工资数据（开发中）',
    icon: 'el-icon-s-flag',
    roles: ['admin', 'editor'] // you can set roles in root nav
  },
  children: [
    {
      path: 'generateSalaryData',
      component: () => import('@/views/generateSalaryData/generateSalaryData'),
      name: 'generateSalaryData',
      meta: {
        title: '生成工资数据（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    },
    {
      path: 'generateBankData',
      component: () => import('@/views/generateSalaryData/generateBankData'),
      name: 'generateBankData',
      meta: {
        title: '生成银行数据（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    },
    {
      path: 'salaryGiveOutSign',
      component: () => import('@/views/generateSalaryData/salaryGiveOutSign'),
      name: 'salaryGiveOutSign',
      meta: {
        title: '工资发放签报（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    },
    {
      path: 'querySalaryData',
      component: () => import('@/views/generateSalaryData/querySalaryData'),
      name: 'querySalaryData',
      meta: {
        title: '查询工资数据（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'] // or you can only set roles in sub nav
      }
    }
  ]
}

export default generateSalary
